package com.Eric.test;

import com.atguigu.utils.SMSUtils;
import com.atguigu.utils.ValidateCodeUtils;
import org.junit.Test;

/**
 * @author Eric
 * @Create 2020-09-20  14:19
 * @Version project-workspace-0912
 **/
public class SMS {
    @Test
    public void test()  throws Exception{
        Integer code = ValidateCodeUtils.generateValidateCode(4);
      SMSUtils.sendShortMessage("15093340749",String.valueOf(code));
    }
}
